<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>dome</title>
</head>
<body>
    <script>
        var arr1=["五月天","周杰伦","王力宏"]
        var arr2 = ["知足","七里香","爱错"]
        var arr =[]
        arr1.map(function(item,index){
            let obj={}
            obj.title=item
            arr.push(obj)
        })
        console.log(arr)
        arr2.map(function(item,index){
            console.log(index)
            arr[index].name = item
        })
        console.log(arr)        
    </script>
    
</body>
</html>